﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 工单
    /// </summary>
    public class VWorkOrderSiteBom
    {
        private string _bomProductCode;
        private string _bomProductName;
        private string _bomCategoryCode;
        private string _bomCategoryName;

        ///<Summary>
        /// BOM扣料料号
        ///</Summary>
        public string BomProductCode
        {
            get { return string.IsNullOrWhiteSpace(_bomProductCode) ? string.Empty : _bomProductCode; }
            set { _bomProductCode = value; }
        }

        ///<Summary>
        /// BOM扣料名称
        ///</Summary>
        public string BomProductName
        {
            get { return string.IsNullOrWhiteSpace(_bomProductName) ? string.Empty : _bomProductName; }
            set { _bomProductName = value; }
        }

        ///<Summary>
        /// BOM扣料类目料号
        ///</Summary>
        public string BomCategoryCode
        {
            get { return string.IsNullOrWhiteSpace(_bomCategoryCode) ? string.Empty : _bomCategoryCode; }
            set { _bomCategoryCode = value; }
        }

        ///<Summary>
        /// BOM扣料类目名称
        ///</Summary>
        public string BomCategoryName
        {
            get { return string.IsNullOrWhiteSpace(_bomCategoryName) ? string.Empty : _bomCategoryName; }
            set { _bomCategoryName = value; }
        }

        ///<Summary>
        /// 扣料数量
        ///</Summary>
        public decimal BomCount { get; set; }

        ///<Summary>
        /// 是否已勾选
        ///</Summary>
        public bool Selected { get; set; }
    }
}
